package com.cms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cms.dao.mapper.UserBankMapper;
import com.cms.exception.SystemDBException;
import com.cms.model.UserBankVo;
import com.cms.service.UserBankService;

@Service
public class UserBankServiceImpl implements UserBankService {

	
	@Autowired
	private UserBankMapper userBankMapper;
	
	@Override
	public void updateUserBank(UserBankVo vo) throws SystemDBException {
		userBankMapper.updateUserBank(vo);
	}

	@Override
	public void deleteUserBank(UserBankVo vo) throws SystemDBException {
		userBankMapper.deleteUserBank(vo);
	}

	@Override
	public UserBankVo getUserBank(UserBankVo vo) {
		return userBankMapper.getUserBank(vo);
	}

}
